﻿using EllenTang.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace EllenTang.Web.Controllers
{
    public class AccessStatisticsController : Controller
    {
        IBll.IAccessStatisticsBll AccessStatisticsBll = new Bll.AccessStatisticsBll();
        // GET: AccessStatistics
        public ActionResult Index()
        {
            AccessStatistics acceS= AccessStatisticsBll.LoadEntities(u => true).FirstOrDefault();
            ViewData.Model = acceS;
            return View();
        }
    }
}